load(
    "//bazel:envoy_build_system.bzl",
    "envoy_cc_test",
    "envoy_package",
)

licenses(["notice"])  # Apache 2

envoy_package()

envoy_cc_test(
    name = "redirect_extension_integration_test",
    size = "large",
    srcs = [
        "redirect_extension_integration_test.cc",
    ],
    deps = [
        "//source/common/http:header_map_lib",
        "//source/extensions/internal_redirect/allow_listed_routes:config",
        "//source/extensions/internal_redirect/previous_routes:config",
        "//source/extensions/internal_redirect/safe_cross_scheme:config",
        "//test/integration:http_protocol_integration_lib",
        "//test/test_common:utility_lib",
        "@envoy_api//envoy/config/route/v3:pkg_cc_proto",
        "@envoy_api//envoy/extensions/filters/network/http_connection_manager/v3:pkg_cc_proto",
        "@envoy_api//envoy/extensions/internal_redirect/allow_listed_routes/v3:pkg_cc_proto",
        "@envoy_api//envoy/extensions/internal_redirect/previous_routes/v3:pkg_cc_proto",
        "@envoy_api//envoy/extensions/internal_redirect/safe_cross_scheme/v3:pkg_cc_proto",
    ],
)
